package cc.messcat.dao.area;


import java.util.List;

import cc.messcat.common.dao.BaseDao;
import cc.messcat.entity.area.Area;
import cc.messcat.entity.system.McUser;

public interface AreaDao extends BaseDao<Area>{

	List<Area> getAreasByParentId(Long cityId);

	Area getByID(Long areaID);
	
	List<Area> retrieveAllarea() ;
	
	void removearea(Long id);

    List<Area> getAreaHasVillageInfo(Long fatherId);

    Area getAreaByName(String name);
    
    Area getAreaByCode(String areaCode);

	List<String> retrieveAllareaCode();

	List<Area> areaAuthorization(String areaCode);
}
